<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!-- 开始循环 -->
<c:choose>
    <c:when test="${not empty data}">
        <c:if test="${QX.cha == 1 }">
            <c:forEach items="${data}" var="d" varStatus="vs">
                <tr>
                    <td class='center' style="width: 30px;">
                        <label><input type='checkbox' name='ids'
                                      value="${d.ID }" id="${d.ID }"
                                      alt="${d.ID}" class="ace"/><span
                                class="lbl"></span></label>
                    </td>
                    <%--编号	托单号	提单号	贸易类型	 ETD	结算单位	费用名称
                    箱型	箱主	单价	箱量	总金额	汇率 	币种
                    江船名	江船航次	海船名	海船航次	业务员
                    录入人	录入日期	备注--%>
                    <td class='center' style="width: 30px;">${vs.index+1}</td>
                    <td class="center">${d.BILL_CODE}</td>
                    <td class="center">${d.LADING_BILL_CODE }</td>
                    <td class="center">${d.TRADE_TYPE}</td>
                    <td class="center">${d.BOAT_ETD}</td>
                    <td class="center">${d.SETTLEMENT_UNIT }</td>
                    <td class="center">${d.COST_NAME }</td>
                    <td class="center">${d.CONTAINER_TYPE}</td>
                    <td class="center">${d.CONTAINER_OWNER}</td>
                    <td class="center"><fmt:formatNumber value="${d.TAX_PRICE }" pattern="0.00"></fmt:formatNumber></td>
                    <td class="center">${d.CONTAINER_NUM}</td>
                    <td class="center"><fmt:formatNumber value="${d.TOTALPRICE}" pattern="0.00"/> </td>
                    <td class="center"><fmt:formatNumber value="${d.EXCHANGE_RATE}"  pattern="0.00"></fmt:formatNumber></td>
                    <td class="center">${d.CURRENCY}</td>
                  <%--   <td class="center">${d.EQUIVALENT_RMB}</td>
                 
                    <td class="center">${d.EXCHANGE_RATE}</td> 
                    <td class="center">${d.portStartDesc}</td>
                    <td class="center">${d.crtRemark}</td>
                    <td class="center">${d.operDate}</td>
                     <td class="center">${d.applyCreatorName}
                     <td class="center">${d.createTime}</td>
                    <td class="center">${d.TRADE_TYPE_ID}</td></td>--%>
                    <td class="center">${d.BOAT_NAME}</td>
                    <td class="center">${d.BOAT_VOYAGE_NAME}</td>
                    <td class="center">${d.SHIP_NAME}</td>
                    <td class="center">${d.SHIP_VOYAGE_NAME}</td>
                    <td class="center">${d.SALER_NAME}</td>
                    <td class="center">${d.BILL_INPUTER}</td>
                    <td class="center">${d.CREATE_TIME}</td>
                    <td class="center">${d.REMARK}</td>
                    
                </tr>
            </c:forEach>
        </c:if>
        <c:if test="${QX.cha == 0 }">
            <tr>
                <td colspan="100" class="center">您无权查看</td>
            </tr>
        </c:if>
    </c:when>
    <c:otherwise>
        <tr class="main_info">
            <td colspan="100" class="center">没有相关数据</td>
        </tr>
    </c:otherwise>
</c:choose>
<%--<tr>
    <td style="vertical-align:top;text-align: right" colspan="20">
        <div class="pagination"
             style="float: right;padding-top: 0px;margin-top: 0px;">
            ${page.pageStr}
        </div>
    </td>
</tr>--%>
